package com.canic.dkd;

import com.canic.dkd.base.utils.SpringContextUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

/**
 * 启动类
 * @author zc
 */
@MapperScan("com.canic.dkd.*.*.mapper")
@SpringBootApplication
public class DemoApplication {

	public static void main(String[] args) {
		ApplicationContext app = SpringApplication.run(DemoApplication.class, args);
		SpringContextUtil.setApplicationContext(app);
		System.out.println("========================启动完毕========================");
	}

}
